package com.zoweunion.mechanic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zoweunion.mechanic.entity.PromotionCouponEntity;
import com.zoweunion.mechanic.entity.UserCouponEntity;
import com.zoweunion.mechanic.model.ResponseBean;

import java.util.Map;

/**
 * 优惠券用户关联表
 *
 * @author xp
 * @email 17688825585@163.com
 * @date 2020-08-11 13:34:07
 */
public interface UserCouponService extends IService<UserCouponEntity>{

    PageInfo<UserCouponEntity> queryPage(Map<String, Object> map);

    void userCouponInsertUpdate(UserCouponEntity params);

    PromotionCouponEntity userCouponHead(Map<String, Object> params);

    ResponseBean giveCoupon(UserCouponEntity params);

    void getCouponByRegister(String userId,String mobilePhone);
}

